package com.zx.constant;/**
 * Author:JasonZ
 * Data:2023/4/17
 */

import java.time.Duration;

/**
 * @program: ecommerce-parent
 * @description:
 * @author: JasonZ
 * @create: 2023-04-17 10:06
 **/

public class AuthorityConstant {
    /*公钥*/
    public static final String PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8ZMlo8kDvPfm0JO/sebz/jd22jhAsy7n8hwSTzV9Z7lJcRNDwcMu5Gn/4x+/Q/XgQ+VoOZW6LzAfaa2R1WPG1IrS97YF8gQHUOEfLWqmPVWfZf5UBd4/u1Cabf40iGcJbi3IPc9vci9i+V7Hmf6OsN6RBsqSM9AwhFbUp0qSLu6I0JVpjufBqNDCobyQXFQdn8/5MiF+XkMIDNw1CleqdmY7ETCFzDwvBpCrWc7o5UQOpQ08BRucKVGZvjJRqOkGWiWf+/W7W1J68lKycdiPg2Ca5S56Qmyja6XYYgYD3Rcg/ySU4DiLXgzJNTcZoi7EqLyokyu855clprVLFhidEwIDAQAB";
    /*私钥*/
    public static final String PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDxkyWjyQO89+bQk7+x5vP+N3baOECzLufyHBJPNX1nuUlxE0PBwy7kaf/jH79D9eBD5Wg5lbovMB9prZHVY8bUitL3tgXyBAdQ4R8taqY9VZ9l/lQF3j+7UJpt/jSIZwluLcg9z29yL2L5XseZ/o6w3pEGypIz0DCEVtSnSpIu7ojQlWmO58Go0MKhvJBcVB2fz/kyIX5eQwgM3DUKV6p2ZjsRMIXMPC8GkKtZzujlRA6lDTwFG5wpUZm+MlGo6QZaJZ/79btbUnryUrJx2I+DYJrlLnpCbKNrpdhiBgPdFyD/JJTgOIteDMk1NxmiLsSovKiTK7znlyWmtUsWGJ0TAgMBAAECggEBALTYuabhh0DiPRMMaMef5Cz+DKXU0urRRKbFSRevLZCG72oNR/44RlSM3hmD3MXdveRWSy5A3r8QwZN1cuVS6riWrNTwmYbSa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cAKOHEV6KXY8dZgwBQ1Hv5SB9WG4Oj9YCTt8sPcKaVS/8Rc=";
    /*自定义clams用户对象的key*/
    public static final String ECOMMERCE_USER_KEY = "ecommerce_user";
    /*token过期时间*/
    public static final Duration EXP_TIME = Duration.ofDays(2);
    /*token*/
    public static final String AUTHENTICATION_TOKEN_KEY="authorization";
}
